#ifndef __MyI2C_H
#define __MyI2C_H
/*引脚层*/
void I2C_W_SDA(uint8_t x);
void I2C_W_SCL(uint8_t x);
uint8_t I2C_R_SDA(void);
/*协议层*/
void MyI2C_Init(void);
void MyI2C_Start(void);
void MyI2C_Stop(void);
void MyI2C_SendByte(uint8_t Byte);
uint8_t MyI2C_ReceiveByte(void);
void MyI2C_SendAck(uint8_t AckBit);
uint8_t MyI2C_ReceiveAck(void);


#endif